package com.sky.service;

import com.sky.result.Result;
import com.sky.vo.OrderReportVO;
import com.sky.vo.SalesTop10ReportVO;
import com.sky.vo.TurnoverReportVO;
import com.sky.vo.UserReportVO;

import javax.servlet.http.HttpServletResponse;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author xiaobai
 * @create 2024-03-19 16:48
 */
public interface ReportService {


    /*
    * 统计指定时间区间内的营业额
    * */

    TurnoverReportVO getTurnoverStatistics(LocalDate begin,LocalDate end);



    /*
    * 用户统计
    * */
    UserReportVO getUserStatistics(LocalDate begin,LocalDate end);



    OrderReportVO getOrdersStatistics(LocalDate begin, LocalDate end);


    /*
    * 销量排名
    * */
    SalesTop10ReportVO getSalesTop10(LocalDate begin, LocalDate end);


    /*
    * 导出运营数据报表
    * */
    void getBusinessData(HttpServletResponse response);
}
